package com.app.demo.service;

import com.app.demo.entity.User;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface UserService extends IService<User> {
    User insert(User user);

    void delete(Long id);

    void delete(List<Long> idList);

    User edit(User user);

    User getById(Long id);

    Page<User> pageList(User user, Long pageSize, Long pageNumber);
}
